
#ifndef   __DEV_STATUS_H__
#define   __DEV_STATUS_H__

typedef struct 
{
	unsigned long 	date_time;
	unsigned short oil;
	unsigned short temperature;
	unsigned char 	oil_speed;
	unsigned char 	trk;
	unsigned short tbd1;
	unsigned short tbd2;
	unsigned short tbd3;
	unsigned short tbd4;
	unsigned char 	rssi;
	unsigned char 	battery;
}dev_status_t;						  /* 20 bytes */

extern dev_status_t dev_status;

void status_init ( void );
void status_task ( void *pvParameters );
void status_set_param ( char *ip_addr, char *port, unsigned long send_period );

#endif
